Skip to content

Conversation

Oberon00
Copy link

@Oberon00 Oberon00 commented Sep 8, 2025

I also tried to add a versionchanged entry but don't have the tooling set up to build this locally so it's untested... If desired I can restrict to just removing the note (just 83ad926)


📚 Documentation preview 📚: https://cpython-previews--138650.org.readthedocs.build/

It seems the C API documentation still specified the state before https://peps.python.org/pep-0684/. Remove the obsolete note.
@python-cla-bot
Copy link

python-cla-bot bot commented Sep 8, 2025

The following commit authors need to sign the Contributor License Agreement:

CLA not signed

@Oberon00
Copy link
Author

Oberon00 commented Sep 8, 2025

I can't sign the CLA at the moment. If it's required for doc PRs like this as well, I'll have to close it unmerged.

process state like available memory, open file descriptors and such.
.. versionchanged:: 3.12
Each subinterpreter now :ref:`has its own GIL <per-interpreter-gil>`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should mention that this is still an optional feature. Legacy subinterpreters (Py_NewInterpreter) still share the GIL.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. Let's specify that it is configurable. Different interpreters can share gil or create one per interpreter.

@sobolevn
Copy link
Member

sobolevn commented Sep 8, 2025

If it's required for doc PRs like this as well, I'll have to close it unmerged.

All contributions require it :(
I can take this PR from here. Feel free to close, if that's what you want.

Thanks a lot for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review docs Documentation in the Doc dir skip news
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

3 participants